from translate import Translator
import pyttsx3

if __name__ == '__main__':
    name = 'like'
    translator = Translator( to_lang="chinese" )
    translator_translate = translator.translate( name )

    engine = pyttsx3.init()
    rate = engine.getProperty( 'rate' )
    engine.setProperty( 'rate', rate + 50 )
    engine.say( translator_translate )
    engine.runAndWait()

    for s in name:
        engine.say( s )
        engine.runAndWait()
